#include<stdio.h>
//int main()
//{
//	double score1 = 0,score2=0,score3=0,score4=0,score5=0,sum=0;
//	while (scanf_s("%lf %lf %lf %lf %lf",&score1,&score2,&score3,&score4,&score5)==5)
//	{
//		sum = score1 + score2 + score3 + score4 + score5;
//		printf("%.1lf\n", sum);
//	}
//	return 0;
//}
int main()
{
	static double score = 0;
	double sum = 0;
	int i = 0;
	for (int k = 0; k < 5; k++)
	{
		while (i < 5)
		{
			scanf_s("%lf", &score);
			sum  +=score;
			i++;
		}
		printf("%.1lf\n", sum);
		sum = 0.0;
		i = 0;
	}
	return 0;
}